<template>
    <div class="card-container">
        <div class="title">{{ props.title }}</div>
        <div class="num">{{ props.num }}</div>
    </div>
  </template>
  
  <script lang="ts" setup>
  import {ref,reactive,defineProps} from 'vue'
  const props = defineProps({
      title:String,
      num:String
  })
  </script>
  
  <style lang="scss" scoped>
.card-container{
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 1rem;
    background-color: white;
    border-radius:0.5rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);

    .title{
        color:rgb(107 114 128);
        margin-bottom: 0.5rem;
    }

    .num{
        font-size: 1.5rem;
        line-height: 2rem;
        font-weight: 600;
    }
}
</style>
  